<?php
session_start();
$user = $_POST['user'];
$pwd = $_POST['pwd'];
$pdo =new PDO("mysql:host=127.0.0.1;dbname=seven","root","root");
$pdo->beginTransaction();
$select1->$pdo->query("select * from seven where user = '$user'");
$select2->$pdo->query("select * from seven where pwd = '$pwd'");
